Documentation ¶
Index ¶
- Variables
- func AESRounds(in, seed []byte, rounds uint64) ([]byte, error)
- func DecryptAES(ciphertext, key, iv []byte) ([]byte, error)
- func EncryptAES(plaintext, key, iv []byte) ([]byte, error)
- func GenerateMasterKey(password string, masterSeed, transformSeed []byte, transformRounds uint64) ([]byte, error)
- type DecryptError
- type Salsa20Stream
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var SALSA20_NONCE []byte = []byte{0xE8, 0x30, 0x09, 0x4B, 0x97, 0x20, 0x5D, 0x2A}
Functions ¶
func DecryptAES ¶
func EncryptAES ¶
Types ¶
type DecryptError ¶
type DecryptError error
type Salsa20Stream ¶
type Salsa20Stream struct {
// contains filtered or unexported fields
}
func NewSalsa20Stream ¶
func NewSalsa20Stream(key [32]byte) *Salsa20Stream
Click to show internal directories.
Click to hide internal directories.