BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-04-2005, 02:39 AM   #1
rimzim
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
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
sacramentojoe
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


USA Thermocouple K Type Miniature Socket W/ Panel Mount Alloy Plug Connector Set picture

USA Thermocouple K Type Miniature Socket W/ Panel Mount Alloy Plug Connector Set

$8.99



K E Type Thermocouple Probe High Temperature Sensor Thermistor Sensor Probe picture

K E Type Thermocouple Probe High Temperature Sensor Thermistor Sensor Probe

$10.49



NEW High Temperature Type K Thermocouple Core Ceramic Kiln Probe 2372°F 1300°C picture

NEW High Temperature Type K Thermocouple Core Ceramic Kiln Probe 2372°F 1300°C

$14.99



K-Type Thermocouple Probe Digital Thermometer Steel Sensor Spiral Cable  picture

K-Type Thermocouple Probe Digital Thermometer Steel Sensor Spiral Cable

$11.99



US NEW High Temperature Type K Thermocouple Core Ceramic Kiln Probe 2372°F picture

US NEW High Temperature Type K Thermocouple Core Ceramic Kiln Probe 2372°F

$15.29



9.8ft K Type 50x5mm 500C Probe Thermocouple Temperature Sensor Cable 3 Meters picture

9.8ft K Type 50x5mm 500C Probe Thermocouple Temperature Sensor Cable 3 Meters

$10.56







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