|
From: | chendongdong |
Subject: | [GNU Crypto] about emsa-pss |
Date: | Mon, 6 Mar 2006 11:25:24 +0800 |
Hi all, I want to use emsa-pss. The following is the sample codes. int emBits=md.hashSize()*8+digest.length*8+9; EMSA_PSS emsa = EMSA_PSS.getInstance("SHA-1"); byte[] bJ = emsa.encode(digest, emBits, salt.toByteArray()); But my question is: Which kind of salt should I provide? Can some one provide the solution for how to use emsa-pss? Dongdong Chen 2006.3.6 |
[Prev in Thread] | Current Thread | [Next in Thread] |