Documentation ¶
Overview ¶
Simple wrapper + JSON struct for encrypting/decrypting short values inside pkencryptedstream
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct { KeyFingerprint string `json:"key_fingerprint"` // .. of the encryption key that encrypted this box Ciphertext []byte `json:"ciphertext"` // gokit/pkencryptedstream }
func (*Box) DecryptNoFingerprint ¶
func (e *Box) DecryptNoFingerprint(privKey *rsa.PrivateKey) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.