hiboot: hidevops.io/hiboot/pkg/utils/crypto Index | Files | Directories

package crypto

import "hidevops.io/hiboot/pkg/utils/crypto"

Package crypto provides crypto encryption/decryption utilities

Index

Package Files

doc.go errors.go

Variables

var (
    // ErrInvalidPublicKey invalid public key
    ErrInvalidPublicKey = errors.New("[crypto] invalid public key")
    // ErrInvalidPrivateKey invalid private key
    ErrInvalidPrivateKey = errors.New("[crypto] invalid private key")
    // ErrInvalidInput invalid input format
    ErrInvalidInput = errors.New("[crypto] invalid input format")
    // ErrCipherTooShort cipher text too short
    ErrCipherTooShort = errors.New("[crypto] cipher text too short")
)

Directories

PathSynopsis
aesPackage aes provides aes encryption/decryption utilities
base64Package base64 provides base64 encryption/decryption utilities
md5Package md5 provides md5 encryption utilities
rsaPackage rsa provides rsa encryption/decryption utilities

Package crypto imports 1 packages (graph) and is imported by 4 packages. Updated 2019-04-02. Refresh now. Tools for package owners.