Skip to content
This repository was archived by the owner on Jul 20, 2024. It is now read-only.

2. BIP 38 加密使用方法

QuincySx edited this page May 15, 2018 · 1 revision

记住 Bip38 是比特币补充协议,不允许使用其他币种的私钥调用加密方法 //低端手机使用 Bip38 加密时可能会卡死或崩溃

//输入密码以及格式化的比特币私钥
String encryptKey = Bip38.encryptNoEcMultiply("123456", master.getPrivateKey());
//输入密码以及加密过的 6p 开头的私钥                   
BitCoinECKeyPair decryptKey = Bip38.decrypt(encryptStr , "123456");

Clone this wiki locally