21xrx.com
2024-11-19 04:44:17 Tuesday
登录

javascript:

加密:btoa("password")
解密:atob("cGFzc3dvcmQ=")

php:

加密:base64_encode ("password")
解密:base64_decode ("cGFzc3dvcmQ=")

java:

加密:
String originalInput = "password";
String encodedString=Base64.getEncoder()
.encodeToString(originalInput.getBytes());
解密:
String encodedString="cGFzc3dvcmQ=";
byte[] decodedBytes = Base64.getDecoder().decode(encodedString);
String decodedString = new String(decodedBytes);

C 语言:

加密(编辑器:visual studio 2017):

解密(编辑器:visual studio 2017):

  
  

评论区

{{item['qq_nickname']}}
()
回复
回复
21技术    www.21xrx.com 备案号:蜀ICP备17043188号-2