Skip to content

XuefengHuang/aespro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

aespro

Usage:

go get github.com/XuefengHuang/aespro

Example:

import (
    "github.com/XuefengHuang/aespro"
    "fmt"
)

func main() {
    /*
    *src encrypt_text
    *key length(128bit、192bit、256bit)
    *the length of key is 16 = 128bit
     */
    src := "exampleplaintext"
    key := "example key 1234"

    crypted := aespro.CFBEncrypt(src, key)
    fmt.Println("crypted is: ", crypted)
    plain := aespro.CFBDecrypt(crypted, key)
    fmt.Println("plain is: ", plain)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages