andotp

package
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package andotp implements functions to encrypt/decrypt andOTP files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encryptedtext []byte, password string) ([]byte, error)

Decrypt decrypts encryptedtext using password. It returns decrypted byte array and any error encountered.

func Encrypt

func Encrypt(plaintext []byte, password string) ([]byte, error)

Encrypt encrypts plaintext with password according to andotp encryption standard. It returns encrypted byte array and any error encountered.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL