04 2022 档案
摘要:public static byte[] byteMerge(byte[] bt1, byte[] bt2) { byte[] bt3 = new byte[bt1.length + bt2.length]; System.arraycopy(bt1, 0, bt3, 0, bt1.length);
阅读全文
摘要://Tribute to python public static byte[] bytesFromHex(String hexStr) { int len = hexStr.length()/2; byte[] result = new byte[len]; for (int i = 0; i <
阅读全文
摘要:1.生成自签证书 #!/bin/sh # # Copied from ima-evm-utils. # # This program is free software; you can redistribute it and/or # modify it under the terms of the
阅读全文
摘要:RSA签名验证的一般流程 发行者 对被签名文件(假设为App.txt)计算hash,一般用SHA256 用RSA私钥(假设为RSA.key)对hash值签名,得到二进制签名文件(假设为App.sig.bin),对其结果进行base64编码,保存到签名文件(假设为App.sig) 将App.txt,公
阅读全文

浙公网安备 33010602011771号