 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
Decrypt takes a base64-encoded, versioned encrypted string and password, then returns the decrypted plaintext or an error.
func Encrypt ¶
Encrypt takes plaintext and a password, and returns a base64-encoded string with a versioned prefix. It uses scrypt for key derivation and AES-GCM for authenticated encryption.
func IsEncrypted ¶
IsEncrypted checks whether the given string has the expected encrypted prefix.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.