mshd.net
当前位置:首页 >> mEssAgEDigEst shA1 >>

mEssAgEDigEst shA1

结果是一样的, 但是你多搞了一点: java你是用Base64编码成字符串, 而ObjC你是直接用16进制输出的, 你java上不Base64编码, 也输出成16进制, 就一样了;

import java.security.*; /* * TestEncrypt.java * Author: MKing * Last Date: 2005-11-21 * Description: A test progrm to encrypt a string using MD5 or SHA-1,etc. */ public class TestEncrypt { public TestEncrypt() {} public String ...

网站首页 | 网站地图
All rights reserved Powered by www.mshd.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com