package
0.0.0-20241214155319-f5149c2b9132
Repository: https://github.com/dictummortuum/servus-extapi.git
Documentation: pkg.go.dev

# Functions

AES256Decrypt decrypt a string using the provided key.
AES256Encrypt encrypt a string using the provided key.
No description provided by the author
No description provided by the author
No description provided by the author
EncryptRsa encrypts a string using the provided key.
GenerateAESKey generates a new AESKey.
GenerateRsaKey creates a RSA Public key from an exponent and modulus.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrInvalidBlockSize indicates hash blocksize <= 0.
ErrInvalidPKCS7Data indicates bad input to PKCS7 pad or unpad.
ErrInvalidPKCS7Padding indicates PKCS7 unpad fails to bad input.

# Structs

AESKey Holds the key and initialitation vector for aes encrypting.