AES/CBCを行うときに暗号化するたびに、ランダムにIV値を生成します。 private static IvParameterSpec getRandomIvParameterSpec() {
byte[] iv = new byte[16];
new SecureRandom().nextBytes(iv);
return new IvParameterSpec(
現在、別のアプリケーションで使用する変数を準備するために、SHA256関数をテストしています。 ユーザは、SHA256の結果を小文字で要求しました。私はそれが一度SHA機能を通過した小文字の文字列を許可しませんようです data have;
input first $ last $ dob $ 10. sex $;
cards;
test person 1955-07-31 1
;
ru