Documentation ¶
Overview ¶
ECC 256-bit Asymmetric Encryption Scheme
Index ¶
- func CipherMarshal(data []byte) ([]byte, error)
- func CipherUnmarshal(data []byte) ([]byte, error)
- func Decrypt(priv *PrivateKey, data []byte, mode int) ([]byte, error)
- func DecryptAsn1(pub *PrivateKey, data []byte) ([]byte, error)
- func Encrypt(pub *PublicKey, data []byte, random io.Reader, mode int) ([]byte, error)
- func EncryptAsn1(pub *PublicKey, data []byte, rand io.Reader) ([]byte, error)
- type PrivateKey
- type PublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CipherMarshal ¶
func CipherUnmarshal ¶
func DecryptAsn1 ¶
func DecryptAsn1(pub *PrivateKey, data []byte) ([]byte, error)
Types ¶
type PrivateKey ¶
func (*PrivateKey) DecryptAsn1 ¶
func (priv *PrivateKey) DecryptAsn1(data []byte) ([]byte, error)
func (*PrivateKey) Public ¶
func (priv *PrivateKey) Public() crypto.PublicKey
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
ecdsacrypter
Command-line ECDSA Asymmetric Crypter
|
Command-line ECDSA Asymmetric Crypter |
ECC 160-bit Asymmetric Encryption Scheme
|
ECC 160-bit Asymmetric Encryption Scheme |
ECC 192-bit Asymmetric Encryption Scheme
|
ECC 192-bit Asymmetric Encryption Scheme |
ECC 512-bit Asymmetric Encryption Scheme
|
ECC 512-bit Asymmetric Encryption Scheme |
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-4 and SEC 1, Version 2.0.
|
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-4 and SEC 1, Version 2.0. |
Click to show internal directories.
Click to hide internal directories.