Directories
¶
| Path | Synopsis |
|---|---|
|
archive
|
|
|
tar
Package tar implements access to tar archives.
|
Package tar implements access to tar archives. |
|
zip
Package zip provides support for reading and writing ZIP archives.
|
Package zip provides support for reading and writing ZIP archives. |
|
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
|
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O. |
|
Package builtin provides documentation for Go's predeclared identifiers.
|
Package builtin provides documentation for Go's predeclared identifiers. |
|
Package bytes implements functions for the manipulation of byte slices.
|
Package bytes implements functions for the manipulation of byte slices. |
|
Package cmp provides types and functions related to comparing ordered values.
|
Package cmp provides types and functions related to comparing ordered values. |
|
compress
|
|
|
bzip2
Package bzip2 implements bzip2 decompression.
|
Package bzip2 implements bzip2 decompression. |
|
flate
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
|
Package flate implements the DEFLATE compressed data format, described in RFC 1951. |
|
gzip
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
|
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952. |
|
lzw
Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, “A Technique for High-Performance Data Compression”, Computer, 17(6) (June 1984), pp 8-19.
|
Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, “A Technique for High-Performance Data Compression”, Computer, 17(6) (June 1984), pp 8-19. |
|
zlib
Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950.
|
Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950. |
|
container
|
|
|
heap
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
|
list
Package list implements a doubly linked list.
|
Package list implements a doubly linked list. |
|
ring
Package ring implements operations on circular lists.
|
Package ring implements operations on circular lists. |
|
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
|
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
|
Package crypto collects common cryptographic constants.
|
Package crypto collects common cryptographic constants. |
|
aes
Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197.
|
Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. |
|
cipher
Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations.
|
Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations. |
|
des
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3.
|
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3. |
|
dsa
Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3.
|
Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3. |
|
ecdh
Package ecdh implements Elliptic Curve Diffie-Hellman over NIST curves and Curve25519.
|
Package ecdh implements Elliptic Curve Diffie-Hellman over NIST curves and Curve25519. |
|
ecdsa
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in [FIPS 186-5].
|
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in [FIPS 186-5]. |
|
ed25519
Package ed25519 implements the Ed25519 signature algorithm.
|
Package ed25519 implements the Ed25519 signature algorithm. |
|
elliptic
Package elliptic implements the standard NIST P-224, P-256, P-384, and P-521 elliptic curves over prime fields.
|
Package elliptic implements the standard NIST P-224, P-256, P-384, and P-521 elliptic curves over prime fields. |
|
fips140
Package fips140 provides information about the FIPS 140-3 Go Cryptographic Module and FIPS 140-3 mode.
|
Package fips140 provides information about the FIPS 140-3 Go Cryptographic Module and FIPS 140-3 mode. |
|
hkdf
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869.
|
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869. |
|
hmac
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198.
|
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198. |
|
hpke
Package hpke implements Hybrid Public Key Encryption (HPKE) as defined in [RFC 9180].
|
Package hpke implements Hybrid Public Key Encryption (HPKE) as defined in [RFC 9180]. |
|
internal/boring
Package boring provides access to BoringCrypto implementation functions.
|
Package boring provides access to BoringCrypto implementation functions. |
|
internal/boring/bcache
Package bcache implements a GC-friendly cache (see Cache) for BoringCrypto.
|
Package bcache implements a GC-friendly cache (see Cache) for BoringCrypto. |
|
internal/boring/sig
Package sig holds “code signatures” that can be called and will result in certain code sequences being linked into the final binary.
|
Package sig holds “code signatures” that can be called and will result in certain code sequences being linked into the final binary. |
|
internal/cryptotest/wycheproof
Package wycheproof provides helper utilities for writing tests that rely on Wycheproof test vector schemas and JSON vector data.
|
Package wycheproof provides helper utilities for writing tests that rely on Wycheproof test vector schemas and JSON vector data. |
|
internal/entropy
Package entropy provides the passive entropy source for the FIPS 140-3 module.
|
Package entropy provides the passive entropy source for the FIPS 140-3 module. |
|
internal/entropy/v1.0.0
Package entropy implements a CPU jitter-based SP 800-90B entropy source.
|
Package entropy implements a CPU jitter-based SP 800-90B entropy source. |
|
internal/fips140/alias
Package alias implements memory aliasing tests.
|
Package alias implements memory aliasing tests. |
|
internal/fips140/check
Package check implements the FIPS 140 load-time code+data verification.
|
Package check implements the FIPS 140 load-time code+data verification. |
|
internal/fips140/check/checktest
Package checktest defines some code and data for use in the crypto/internal/fips140/check test.
|
Package checktest defines some code and data for use in the crypto/internal/fips140/check test. |
|
internal/fips140/drbg
Package drbg provides cryptographically secure random bytes usable by FIPS code.
|
Package drbg provides cryptographically secure random bytes usable by FIPS code. |
|
internal/fips140/edwards25519
Package edwards25519 implements group logic for the twisted Edwards curve
|
Package edwards25519 implements group logic for the twisted Edwards curve |
|
internal/fips140/edwards25519/field
Package field implements fast arithmetic modulo 2^255-19.
|
Package field implements fast arithmetic modulo 2^255-19. |
|
internal/fips140/hmac
Package hmac implements HMAC according to [FIPS 198-1].
|
Package hmac implements HMAC according to [FIPS 198-1]. |
|
internal/fips140/mlkem
Package mlkem implements the quantum-resistant key encapsulation method ML-KEM (formerly known as Kyber), as specified in [NIST FIPS 203].
|
Package mlkem implements the quantum-resistant key encapsulation method ML-KEM (formerly known as Kyber), as specified in [NIST FIPS 203]. |
|
internal/fips140/nistec
Package nistec implements the elliptic curves from NIST SP 800-186.
|
Package nistec implements the elliptic curves from NIST SP 800-186. |
|
internal/fips140/sha256
Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4.
|
Package sha256 implements the SHA-224 and SHA-256 hash algorithms as defined in FIPS 180-4. |
|
internal/fips140/sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length functions defined by [FIPS 202], as well as the cSHAKE extendable-output-length functions defined by [SP 800-185].
|
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length functions defined by [FIPS 202], as well as the cSHAKE extendable-output-length functions defined by [SP 800-185]. |
|
internal/fips140/sha512
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4.
|
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. |
|
internal/fips140/ssh
Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1.
|
Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1. |
|
internal/fips140/tls13
Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1 and allowed by FIPS 140-3 IG 2.4.B Resolution 7.
|
Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1 and allowed by FIPS 140-3 IG 2.4.B Resolution 7. |
|
internal/fips140cache
Package fips140cache provides a weak map that associates the lifetime of values with the lifetime of keys.
|
Package fips140cache provides a weak map that associates the lifetime of values with the lifetime of keys. |
|
internal/fips140deps
Package fipsdeps contains wrapper packages for internal APIs that are exposed to the FIPS module.
|
Package fipsdeps contains wrapper packages for internal APIs that are exposed to the FIPS module. |
|
internal/impl
Package impl is a registry of alternative implementations of cryptographic primitives, to allow selecting them for testing.
|
Package impl is a registry of alternative implementations of cryptographic primitives, to allow selecting them for testing. |
|
|