Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
deoxysii
✓ github.com/oasisprotocol/deoxysii
Encrypts and decrypts using Deoxys-II
import "github.com/oasisprotocol/deoxysii"
func main() {
// Example: encrypt and decrypt
key := make([]byte, 32)
nonce := make([]byte, 15)
plaintext := []byte("Hello, world!")
ciphertext, err := deoxysii.Encrypt(key, nonce, plaintext, nil)
if err != nil {
panic(err)
}
decrypted, err := deoxysii.Decrypt(key, nonce, ciphertext, nil)
if err != nil {
panic(err)
}
_ = decrypted
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20220228165953-2091330c22b7latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.