package
3.0.0+incompatible
Repository: https://github.com/nebulasio/go-nebulas.git
Documentation: pkg.go.dev

# Functions

NewCipher returns a new cipher.

# Constants

ScryptDKLen get derived key length.
ScryptKDF name.
TODO: check 1<<12 vs 1<<18.
StandardScryptP p parameter of Scrypt encryption algorithm.
StandardScryptR r parameter of Scrypt encryption algorithm.

# Variables

ErrCipherInvalid cipher not supported.
ErrDecrypt decrypt failed.
ErrKDFInvalid cipher not supported.
ErrVersionInvalid version not supported.

# Structs

Cipher encrypt cipher.
Scrypt scrypt encrypt.

# Interfaces

Encrypt interface for encrypt.