Top 2.9% dependent repos on proxy.golang.org
proxy.golang.org : github.com/rusq/secure
Package secure provides simple convenience encryption and decryption functions. It should not be used to encrypt critical information in open source projects, where the salt might be known to attaker. It uses the standard Go runtime AES-256 block cipher with GCM. Encryption key is a 256-bit value (32 bytes). The default "Salt" is a fixed 256 byte array of pseudo-random values, taken from /dev/urandom. Then additional data, nonce and ciphertext are packed into the following sequence of bytes: After this, packed byte sequence is armoured with base64 and the signature prefix added to it to distinct it from the plain text.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rusq/secure
License: BSD-3-Clause
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/rusq
Dependent packages: 4
Dependent repositories: 3
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago