Advertisement
Guest User

Untitled

a guest
Feb 24th, 2014
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.20 KB | None | 0 0
  1. def updateFun = SSLHashSHA1.update(hashCtx, _: Int)
  2.  
  3. for {
  4. _ <- updateFun(clientRandom)
  5. _ <- updateFun(serverRandom)
  6. _ <- updateFun(signedParams)
  7. x <- SSLHashSHA1.final(hashCtx, hashOut)
  8. } yield x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement