Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ sign
Method
sign
atomic-identity/src/keypair.rs:147–150 ·
view source on GitHub ↗
Sign a message
(&self, message: &[u8])
Source
from the content-addressed store, hash-verified
145
146
/// Sign a message
147
pub fn sign(&self, message: &[u8]) -> [u8; 64] {
148
let sig = self.0.sign(message);
149
sig.to_bytes()
150
}
151
}
152
153
impl fmt::Debug for SecretKey {
Callers
9
mint_token
Function · 0.45
self_signed_token_verifies_round_trip
Function · 0.45
run
Method · 0.45
execute
Method · 0.45
test_signing_workflow
Function · 0.45
test_identity_verify_signature
Function · 0.45
test_sign_and_verify
Function · 0.45
test_verify_wrong_message
Function · 0.45
test_secret_key_from_bytes
Function · 0.45
Calls
1
to_bytes
Method · 0.45
Tested by
6
self_signed_token_verifies_round_trip
Function · 0.36
test_signing_workflow
Function · 0.36
test_identity_verify_signature
Function · 0.36
test_sign_and_verify
Function · 0.36
test_verify_wrong_message
Function · 0.36
test_secret_key_from_bytes
Function · 0.36