package
0.0.0
Repository: https://github.com/mihongtech/crypto.git
Documentation: pkg.go.dev

# Functions

GenPrivKey generates a new ed25519 private key.
GenPrivKeyFromSecret hashes the secret with SHA2, and uses that 32 byte output to create the private key.
PrivKeyFromBytes returns a private and public key for `curve' based on the private key passed as an argument as a byte slice.

# Constants

No description provided by the author
PrivateKeySize is the size, in bytes, of private keys as used in this package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PubKeySize is is the size, in bytes, of public keys as used in this package.
SeedSize is the size, in bytes, of private key seeds.
Size of an Edwards25519 signature.

# Type aliases

PrivKey implements crypto.PrivKey.
PubKeyEd25519 implements crypto.PubKey for the Ed25519 signature scheme.