Namespace: Ed25519
Methods
(static) secret_to_public(priv) → {buffer}
Parameters:
Name |
Type |
Description |
priv |
buffer
|
size 32 |
- Source:
Returns:
pub - size 32
-
Type
-
buffer
(static) sign(priv, message) → {buffer}
Parameters:
Name |
Type |
Description |
priv |
buffer
|
size 32 |
message |
buffer
|
size len |
- Source:
Returns:
signature - size 64
-
Type
-
buffer
(static) verify(pub, message, signature) → {bool}
Parameters:
Name |
Type |
Description |
pub |
buffer
|
size 32 |
message |
buffer
|
size len |
signature |
buffer
|
size 64 |
- Source:
Returns:
-
Type
-
bool