Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoPassphrase = []byte("")
Functions ¶
Types ¶
type Argon2Flavor ¶
type Argon2Flavor string
const ( Argon2d Argon2Flavor = "Argon2d" Argon2i Argon2Flavor = "Argon2i" Argon2id Argon2Flavor = "Argon2id" )
type Encryption ¶
type Encryption string
const ( NoEncryption Encryption = "none" AES256CBC Encryption = "aes256-cbc" )
type PPK ¶
type PPK struct { Version int Type string Encryption Encryption Comment string PublicBytes []byte KeyDerivation Argon2Flavor Argon2Memory int Argon2Passes int Argon2Parallelism int Argon2Salt []byte PrivateBytes []byte MAC []byte }
https://the.earth.li/~sgtatham/putty/0.78/htmldoc/AppendixC.html#ppk
func InsecureParse ¶
func InsecureParseFile ¶
Click to show internal directories.
Click to hide internal directories.