flymoondust
flymoondust
Private key like this: -----BEGIN EC PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: SM4-CBC,xxxxxxx xxxx -----END EC PRIVATE KEY----- I find out that the PEMUtilities.crypt don't support algorithm like sm4-cbc my code...
I use this:`PrivateKeyInfo privateKeyInfo = PrivateKeyInfo.getInstance(bytesContents);` exception: ``` java.lang.IllegalArgumentException: failed to construct sequence from byte[]: Extra data detected in stream at org.bouncycastle.asn1.ASN1Sequence.getInstance(Unknown Source) at org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance(Unknown Source) ```
Recently, i encounter a Binary Equivalence problem. I compile in a docker in linux. I already make the influnces,such as timestamp, the same through some techniques. Same mathine ,same docker...