type golang.org/x/crypto/openpgp/packet.CipherFunction
24 uses
golang.org/x/crypto/openpgp/packet (current package)
config.go#L25: DefaultCipher CipherFunction
config.go#L65: func (c *Config) Cipher() CipherFunction {
encrypted_key.go#L26: CipherFunc CipherFunction // only valid after a successful Decrypt
encrypted_key.go#L97: e.CipherFunc = CipherFunction(b[0])
encrypted_key.go#L141: func SerializeEncryptedKey(w io.Writer, pub *PublicKey, cipherFunc CipherFunction, key []byte, config *Config) error {
packet.go#L474: type CipherFunction uint8
packet.go#L477: Cipher3DES CipherFunction = 2
packet.go#L478: CipherCAST5 CipherFunction = 3
packet.go#L479: CipherAES128 CipherFunction = 7
packet.go#L480: CipherAES192 CipherFunction = 8
packet.go#L481: CipherAES256 CipherFunction = 9
packet.go#L485: func (cipher CipherFunction) KeySize() int {
packet.go#L502: func (cipher CipherFunction) blockSize() int {
packet.go#L515: func (cipher CipherFunction) new(key []byte) (block cipher.Block) {
private_key.go#L32: cipher CipherFunction
private_key.go#L111: pk.cipher = CipherFunction(buf[0])
symmetric_key_encrypted.go#L24: CipherFunc CipherFunction
symmetric_key_encrypted.go#L40: ske.CipherFunc = CipherFunction(buf[1])
symmetric_key_encrypted.go#L73: func (ske *SymmetricKeyEncrypted) Decrypt(passphrase []byte) ([]byte, CipherFunction, error) {
symmetric_key_encrypted.go#L86: cipherFunc := CipherFunction(plaintextKey[0])
symmetrically_encrypted.go#L47: func (se *SymmetricallyEncrypted) Decrypt(c CipherFunction, key []byte) (io.ReadCloser, error) {
symmetrically_encrypted.go#L256: func SerializeSymmetricallyEncrypted(w io.Writer, c CipherFunction, key []byte, config *Config) (contents io.WriteCloser, err error) {
golang.org/x/crypto/openpgp
write.go#L311: cipher := packet.CipherFunction(candidateCiphers[0])
write.go#L315: cipherFunc := packet.CipherFunction(c)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |