Skip to content

sxin0/golang-phplaravel-aes256-cbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

golang写的与php框架laravel内置安全(加密算法对接)

附上: laravel内部安全加密算法/golang安全加密算法
内有demo示例

PHP

$aes = new Encrypter();
echo $aes->encrypt('exampleplaintext')."\n";
echo $aes->decrypt("eyJpdiI6IkJLZmJoOTBGa1A0MGRiLy8zemg4...");

GO

// crypto/aes、crypto/hmac、crypto/sha256、encoding/base64
// encrypt.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published