Versions in this module Expand all Collapse all v0 v0.0.11 May 11, 2026 v0.0.10 May 11, 2026 Changes in this version + type AsymmetricRepository interface + ECC_Decode func(ctx context.Context, privateKey, cipherText string) (string, error) + ECC_Encode func(ctx context.Context, publicKey, text string) (string, error) + GenerateECCKeys func(ctx context.Context, curve common.CurveAsymmetricKey) (*models.KeyData, error) + GenerateRSAKeys func(ctx context.Context, size common.SizeAsymetrycKey) (*models.KeyData, error) + RSA_OAEP_Decode func(ctx context.Context, privateKey, cipherText string) (string, error) + RSA_OAEP_Encode func(ctx context.Context, publicKey, text string) (string, error) + func NewAsymmetricRepository() AsymmetricRepository + type HashRepository interface + Blake3 func(ctx context.Context, message string) string + HMAC func(ctx context.Context, secretKey, message string) string + Sha256Hex func(ctx context.Context, message string) string + func NewHashRepository() HashRepository + type Repository struct + func NewRepository() *Repository + type SignatureRepository interface + GenerateEd255Keys func(ctx context.Context) (*models.KeyData, error) + SignEd25519 func(ctx context.Context, privateKey, text string) (string, error) + SignRSAPSS func(ctx context.Context, privateKey, text string) (string, error) + Sign_RSA_PKCS1v15_SHA256 func(ctx context.Context, privateKey, data string) (string, error) + VerifyEd25519 func(ctx context.Context, publicKey, text, signature string) error + VerifyRSAPSS func(ctx context.Context, publicKey, text, signature string) error + Verify_RSA_PKCS1v15_SHA256 func(ctx context.Context, data, publicKey string, signature string) error + func NewSignatureRepository() SignatureRepository + type SymmetricRepository interface + DecryptAES func(ctx context.Context, secretKey, cipherValue string, additional *string) (string, error) + EncryptAES func(ctx context.Context, secretKey, value string, additional *string) (string, error) + GenerateSymetrycKeys func(ctx context.Context, size common.SizeSymetrycKey) (*models.KeyData, error) + func NewSymmetricRepository() SymmetricRepository