Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/crypto/digest/SHA512.java @ 308:42b15aaa7ac7 ganymed
merge
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2014 14:21:50 -0700 |
parents | 071eccdff8ea |
children |
comparison
equal
deleted
inserted
replaced
306:90e47d99ea54 | 308:42b15aaa7ac7 |
---|---|
17 | 17 |
18 public SHA512() { | 18 public SHA512() { |
19 try { | 19 try { |
20 md = MessageDigest.getInstance("SHA-512"); | 20 md = MessageDigest.getInstance("SHA-512"); |
21 } | 21 } |
22 catch(NoSuchAlgorithmException e) { | 22 catch (NoSuchAlgorithmException e) { |
23 throw new IllegalArgumentException(e); | 23 throw new IllegalArgumentException(e); |
24 } | 24 } |
25 } | 25 } |
26 | 26 |
27 public final int getDigestLength() { | 27 public final int getDigestLength() { |