create account

💻 How to create Salted MD5 String in Java for token based security by ravik2492

View this thread on: hive.blogpeakd.comecency.com
· @ravik2492 ·
$16.91
💻 How to create Salted MD5 String in Java for token based security
Hello Steemian,

 This is Ravi Here and in this program,  you learn about how to create saltedmd5string for token based security in java or data table.

![kkmk.jpg](https://steemitimages.com/DQmVtzVEA98wQWfxuvuHhxNCth6RyS9MVRwgXfVyAGVnvgM/kkmk.jpg)

By this program helps for Beginners programmer .
```
package beans;

import java.security.NoSuchAlgorithmException;

public class SaltedMD5String {
	
	public String getSecureHasPassword(String haspass) throws NoSuchAlgorithmException
	{
		byte saltedbytes[] = getSalt(haspass);
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < saltedbytes.length; ++i) 
		{
	          sb.append(Integer.toHexString((saltedbytes[i] & 0xFF) | 0x100).substring(1,3));
	    }
		return sb.toString();
	}
	
	public byte[] getSalt(String haspass) throws NoSuchAlgorithmException
	{
		java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5");
		byte[] array = md.digest(haspass.getBytes());
		return array;
	}
}
```

Hope ! Some people like my valuable post...

follow  @ravik2492    for more post
👍  , , , , , , , , ,
properties (23)
authorravik2492
permlinkhow-to-create-salted-md5-string-in-java-for-token-based-security
categoryprogramming
json_metadata{"tags":["programming","java","technology","knowledges"],"users":["ravik2492"],"image":["https://steemitimages.com/DQmVtzVEA98wQWfxuvuHhxNCth6RyS9MVRwgXfVyAGVnvgM/kkmk.jpg"],"app":"steemit/0.1","format":"markdown"}
created2018-01-13 19:45:27
last_update2018-01-13 19:45:27
depth0
children2
last_payout2018-01-20 19:45:27
cashout_time1969-12-31 23:59:59
total_payout_value12.850 HBD
curator_payout_value4.064 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,058
author_reputation1,501,149,936,516
root_title"💻 How to create Salted MD5 String in Java for token based security"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,301,734
net_rshares2,030,213,745,271
author_curate_reward""
vote details (10)
@appreciator ·
<p>This post has received gratitude of 0.53 % from @appreciator thanks to: @ravik2492.</p>
properties (22)
authorappreciator
permlinkre-ravik2492-how-to-create-salted-md5-string-in-java-for-token-based-security-20180116t193800970z
categoryprogramming
json_metadata{"tags":["programming"],"app":"drotto/0.0.3"}
created2018-01-16 19:38:36
last_update2018-01-16 19:38:36
depth1
children0
last_payout2018-01-23 19:38:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation55,801,543,512,306
root_title"💻 How to create Salted MD5 String in Java for token based security"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,011,373
net_rshares0
@postpromoter ·
re-ravik2492-how-to-create-salted-md5-string-in-java-for-token-based-security-20180116t223344885z
You got a 0.51% upvote from @postpromoter courtesy of @ravik2492! Want to promote your posts too? Check out the [Steem Bot Tracker website](https://steembottracker.com) for more info. If you would like to support development of @postpromoter and the bot tracker please [vote for @yabapmatt for witness!](https://v2.steemconnect.com/sign/account-witness-vote?witness=yabapmatt&approve=1)
properties (22)
authorpostpromoter
permlinkre-ravik2492-how-to-create-salted-md5-string-in-java-for-token-based-security-20180116t223344885z
categoryprogramming
json_metadata{"app":"postpromoter/1.7.4"}
created2018-01-16 22:33:45
last_update2018-01-16 22:33:45
depth1
children0
last_payout2018-01-23 22:33:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length386
author_reputation12,722,616,650,811
root_title"💻 How to create Salted MD5 String in Java for token based security"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,038,966
net_rshares0