Documentation
¶
Overview ¶
This package assumes that the caller's use case is not sensitive to timing attacks. In other words, it assumes that, even if an attacker can figure out the current index of the secret key originally used to encrypt the data, that information would not be materially useful to them. This is a reasonable assumption for most use cases.
Index ¶
Constants ¶
View Source
const MaxSize = 1 << 20 // 1MB in bytes
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecureBytes ¶
type SecureBytes []byte // Encrypted value
Click to show internal directories.
Click to hide internal directories.