Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/crypto/SecureRandomFix.java @ 346:d6ab7b606a50
compensate for SecureRandom bug on older devices
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 31 Jul 2014 18:51:21 -0700 |
parents | 663637117cf8 |
children | bb7d8a7babbe |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/crypto/SecureRandomFix.java Thu Jul 31 18:43:40 2014 -0700 +++ b/src/ch/ethz/ssh2/crypto/SecureRandomFix.java Thu Jul 31 18:51:21 2014 -0700 @@ -4,6 +4,13 @@ package ch.ethz.ssh2.crypto; +import android.os.Build; +import android.os.Process; + +import java.io.ByteArrayOutputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.io.UnsupportedEncodingException; import java.security.SecureRandom;