Documentation
¶
Overview ¶
Package dongle is a simple, semantic and developer-friendly golang crypto package.
Index ¶
Constants ¶
View Source
const Version = "1.1.8"
Variables ¶
View Source
var ( // Encode defines an Encoder instance. Encode = coding.NewEncoder() // Decode defines a Decoder instance. Decode = coding.NewDecoder() // Hash defines a Hasher instance. Hash = hash.NewHasher() // Encrypt defines an Encrypter instance. Encrypt = crypto.NewEncrypter() // Decrypt defines a Decrypter instance. Decrypt = crypto.NewDecrypter() // Sign defines a Signer instance. Sign = crypto.NewSigner() // Verify defines a Verifier instance. Verify = crypto.NewVerifier() )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package coding provides encoding and decoding utilities for various data formats.
|
Package coding provides encoding and decoding utilities for various data formats. |
|
base100
Package base100 implements base100 encoding and decoding with streaming support.
|
Package base100 implements base100 encoding and decoding with streaming support. |
|
base32
Package base32 implements base32 encoding and decoding with streaming support.
|
Package base32 implements base32 encoding and decoding with streaming support. |
|
base45
Package base45 implements base45 encoding and decoding with streaming support.
|
Package base45 implements base45 encoding and decoding with streaming support. |
|
base58
Package base58 implements base58 encoding and decoding with streaming support.
|
Package base58 implements base58 encoding and decoding with streaming support. |
|
base62
Package base62 implements base62 encoding and decoding with streaming support.
|
Package base62 implements base62 encoding and decoding with streaming support. |
|
base64
Package base64 implements base64 encoding and decoding with streaming support.
|
Package base64 implements base64 encoding and decoding with streaming support. |
|
base85
Package base85 implements base85 encoding and decoding with streaming support.
|
Package base85 implements base85 encoding and decoding with streaming support. |
|
base91
Package base91 implements base91 encoding and decoding with streaming support.
|
Package base91 implements base91 encoding and decoding with streaming support. |
|
hex
Package hex implements hex encoding and decoding with streaming support.
|
Package hex implements hex encoding and decoding with streaming support. |
|
morse
Package morse implements morse encoding and decoding with streaming support.
|
Package morse implements morse encoding and decoding with streaming support. |
|
unicode
Package unicode implements unicode encoding and decoding with streaming support.
|
Package unicode implements unicode encoding and decoding with streaming support. |
|
Package crypto provides comprehensive cryptographic operations including symmetric encryption, asymmetric encryption, digital signatures, and key management.
|
Package crypto provides comprehensive cryptographic operations including symmetric encryption, asymmetric encryption, digital signatures, and key management. |
|
3des
Package triple_des implements Triple DES encryption and decryption with streaming support.
|
Package triple_des implements Triple DES encryption and decryption with streaming support. |
|
aes
Package aes implements AES encryption and decryption with streaming support.
|
Package aes implements AES encryption and decryption with streaming support. |
|
blowfish
Package blowfish implements Blowfish encryption and decryption with streaming support.
|
Package blowfish implements Blowfish encryption and decryption with streaming support. |
|
chacha20
Package chacha20 implements ChaCha20 encryption and decryption with streaming support.
|
Package chacha20 implements ChaCha20 encryption and decryption with streaming support. |
|
chacha20poly1305
Package chacha20poly1305 implements ChaCha20-Poly1305 authenticated encryption and decryption with streaming support.
|
Package chacha20poly1305 implements ChaCha20-Poly1305 authenticated encryption and decryption with streaming support. |
|
cipher
Package cipher provides cryptographic cipher configuration and base functionality.
|
Package cipher provides cryptographic cipher configuration and base functionality. |
|
des
Package des implements DES encryption and decryption with streaming support.
|
Package des implements DES encryption and decryption with streaming support. |
|
ed25519
Package ed25519 implements ED25519 digital signature generation and verification with streaming support.
|
Package ed25519 implements ED25519 digital signature generation and verification with streaming support. |
|
keypair
Package keypair provides cryptographic key pair management functionality.
|
Package keypair provides cryptographic key pair management functionality. |
|
rc4
Package rc4 implements RC4 encryption and decryption with streaming support
|
Package rc4 implements RC4 encryption and decryption with streaming support |
|
rsa
Package rsa implements RSA encryption, decryption, signing, and verification with streaming support.
|
Package rsa implements RSA encryption, decryption, signing, and verification with streaming support. |
|
salsa20
Package salsa20 implements Salsa20 encryption and decryption with streaming support.
|
Package salsa20 implements Salsa20 encryption and decryption with streaming support. |
|
sm4
Package sm4 implements SM4 encryption and decryption with streaming support.
|
Package sm4 implements SM4 encryption and decryption with streaming support. |
|
tea
Package tea implements TEA encryption and decryption with streaming support.
|
Package tea implements TEA encryption and decryption with streaming support. |
|
twofish
Package twofish implements Twofish encryption and decryption with streaming support.
|
Package twofish implements Twofish encryption and decryption with streaming support. |
|
xtea
Package xtea implements XTEA encryption and decryption with streaming support.
|
Package xtea implements XTEA encryption and decryption with streaming support. |
|
Package hash provides cryptographic hash and hmac functions.
|
Package hash provides cryptographic hash and hmac functions. |
|
md2
Package md2 implements the MD2 hash algorithm as defined in RFC 1319.
|
Package md2 implements the MD2 hash algorithm as defined in RFC 1319. |
|
sm3
Package sm3 implements the SM3 hash algorithm as defined in GB/T 32918.1-2016.
|
Package sm3 implements the SM3 hash algorithm as defined in GB/T 32918.1-2016. |
|
Package mock provides mock implementations for testing file system, hash, and I/O operations.
|
Package mock provides mock implementations for testing file system, hash, and I/O operations. |
|
Package utils provides high-performance zero-copy conversion functions between strings and byte slices.
|
Package utils provides high-performance zero-copy conversion functions between strings and byte slices. |
Click to show internal directories.
Click to hide internal directories.