Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void auth(){
- String realUser = Receive();
- String passWord = "demouser";
- BigInteger remoteKey = Receive();
- BigInteger remoteSalt = Receive();
- BigInteger random = new BigInteger(random);
- BigInteger modulus = random.modPow(key);
- Send(modulus);
- BigInteger smallKey = Receive();
- BigInteger bigKey = Receive();
- BigInteger passsha = new BigInteger(SHA1(realUser,password));
- Digest sha = new SHA1();
- sha.update(modulus);
- }
Add Comment
Please, Sign In to add comment