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.  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
author | ravik2492 |
---|---|
permlink | how-to-create-salted-md5-string-in-java-for-token-based-security |
category | programming |
json_metadata | {"tags":["programming","java","technology","knowledges"],"users":["ravik2492"],"image":["https://steemitimages.com/DQmVtzVEA98wQWfxuvuHhxNCth6RyS9MVRwgXfVyAGVnvgM/kkmk.jpg"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-01-13 19:45:27 |
last_update | 2018-01-13 19:45:27 |
depth | 0 |
children | 2 |
last_payout | 2018-01-20 19:45:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 12.850 HBD |
curator_payout_value | 4.064 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,058 |
author_reputation | 1,501,149,936,516 |
root_title | "💻 How to create Salted MD5 String in Java for token based security" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,301,734 |
net_rshares | 2,030,213,745,271 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
ravik2492 | 0 | 3,281,386,785 | 100% | ||
appreciator | 0 | 813,845,545,408 | 0.53% | ||
buildawhale | 0 | 750,813,408,162 | 0.71% | ||
ivanlyubche | 0 | 1,543,277,512 | 100% | ||
gergaeva | 0 | 287,118,545 | 100% | ||
postpromoter | 0 | 208,908,973,821 | 0.51% | ||
zizhafimin | 0 | 792,865,697 | 100% | ||
upmyvote | 0 | 249,511,349,341 | 1.12% | ||
simsin | 0 | 615,320,000 | 100% | ||
zaiggevam | 0 | 614,500,000 | 100% |
<p>This post has received gratitude of 0.53 % from @appreciator thanks to: @ravik2492.</p>
author | appreciator |
---|---|
permlink | re-ravik2492-how-to-create-salted-md5-string-in-java-for-token-based-security-20180116t193800970z |
category | programming |
json_metadata | {"tags":["programming"],"app":"drotto/0.0.3"} |
created | 2018-01-16 19:38:36 |
last_update | 2018-01-16 19:38:36 |
depth | 1 |
children | 0 |
last_payout | 2018-01-23 19:38:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 91 |
author_reputation | 55,801,543,512,306 |
root_title | "💻 How to create Salted MD5 String in Java for token based security" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,011,373 |
net_rshares | 0 |
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)
author | postpromoter |
---|---|
permlink | re-ravik2492-how-to-create-salted-md5-string-in-java-for-token-based-security-20180116t223344885z |
category | programming |
json_metadata | {"app":"postpromoter/1.7.4"} |
created | 2018-01-16 22:33:45 |
last_update | 2018-01-16 22:33:45 |
depth | 1 |
children | 0 |
last_payout | 2018-01-23 22:33:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 386 |
author_reputation | 12,722,616,650,811 |
root_title | "💻 How to create Salted MD5 String in Java for token based security" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,038,966 |
net_rshares | 0 |