This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Security and the fly likes conversion of biginteger into key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "conversion of biginteger into key" Watch "conversion of biginteger into key" New topic
Author

conversion of biginteger into key

Muneeb Kiani
Greenhorn

Joined: Sep 08, 2011
Posts: 5
hi all...!

can anybody tell me...how to convert BigInteger into Key...?

i'm trying to implement diffie-hellman, through my own algo... i have generated the keys(public, private, secret)... but can't cast secret key(BigINteger) into Key...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: conversion of biginteger into key