BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-04-2005, 02:39 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to generate Password-based secret key

Please Login to Remove!

Hello there,

Im writing an application under which I want to use the Password-based encryption with a message digest as MD5.
The equivalent J2SE API for the same is as under:
SecretKeyFactory.getInstance( "PBEWithMD5AndDES");

Can anybody please give me any such API exists on BlackBerry.

I have searched a lot for the same in Package net.rim.device.api.crypto, but failed to find the suitable one.

Please help me in this regard. Or at least suggest me any such API which can generate kety based on the given imput string, may be a password.

Thanx in advance, ealier help would be appreciatable.

RimZim.
Offline  
Old 08-04-2005, 03:40 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rimzim
Hello there,

Im writing an application under which I want to use the Password-based encryption with a message digest as MD5.
The equivalent J2SE API for the same is as under:
SecretKeyFactory.getInstance( "PBEWithMD5AndDES");

Can anybody please give me any such API exists on BlackBerry.

I have searched a lot for the same in Package net.rim.device.api.crypto, but failed to find the suitable one.

Please help me in this regard. Or at least suggest me any such API which can generate kety based on the given imput string, may be a password.

Thanx in advance, ealier help would be appreciatable.

RimZim.
Look at the JavaDocs under AESEncryptorEngine. There are some good examples as to what you want to do. There is even a Crypto file with examples.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

2 Advance Transformer 277 Volt 2-Lamp Ballast VSM-2E40-S-TP (Lot of 2)
$25.0
2 Advance Transformer 277 Volt 2-Lamp Ballast VSM-2E40-S-TP  (Lot of 2) pictureValmont 17V9962B 52-55 Volt High Pressure Reactor Ballast + Free Expedited S/H
$40.09
Valmont 17V9962B 52-55 Volt High Pressure Reactor Ballast + Free Expedited S/H pictureLot of 2 Hubbell Prescolite CFQ626EB CFL Quad Ele Ballast HSG Lamp Fixture 6"
$130.09
Lot of 2 Hubbell Prescolite CFQ626EB CFL Quad Ele Ballast HSG Lamp Fixture 6VALMONT 8G1141W BALLAST *NEW NO BOX*
$80.0
VALMONT 8G1141W BALLAST *NEW NO BOX* pictureUNIVERSAL 487-XLH-TC-P BALLAST *NEW NO BOX*
$23.0
UNIVERSAL 487-XLH-TC-P BALLAST *NEW NO BOX* picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.