Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { ID uint PublicKey crypto.PublicKey EncryptedPrivateKey crypto.EncryptedPrivateKey CreatedAt time.Time UpdatedAt time.Time // contains filtered or unexported fields }
func New ¶
func New(passphrase string, scryptParams utils.ScryptParams) (*Key, error)
New creates a new CSA key consisting of an ed25519 key. It encrypts the Key with the passphrase.
func (*Key) Unsafe_GetPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.