Documentation ¶
Index ¶
Constants ¶
View Source
const ChunkSize = 64 * 1024
Variables ¶
This section is empty.
Functions ¶
func DecryptWithPwd ¶
func DecryptWithPwd(p Parameters, pwd string) ([]byte, error)
func EncryptWithPwd ¶
func EncryptWithPwd(p Parameters, pwd string) ([]byte, error)
func GenKeypair ¶
func GenKeypair() (*age.X25519Identity, error)
Types ¶
type Keychain ¶
type Keychain struct {
// contains filtered or unexported fields
}
func SetupKeychain ¶
func SetupKeychain(keychainSetup SetupKeychainParameters) (Keychain, error)
func (Keychain) KeychainExport ¶
func (Keychain) KeychainExportSecretKey ¶
type Obfuscation ¶
type Parameters ¶
type Parameters struct { Data []byte Compressor compression.Compressor Compress bool Obfuscation bool Obfuscator Obfuscation }
type SetupKeychainParameters ¶
Click to show internal directories.
Click to hide internal directories.