tag:blogger.com,1999:blog-2002003343323875763.post1585673635081550938..comments2024-03-26T00:27:25.301-07:00Comments on Thoughts of a Techie: Encryption and Decryption using AES Algorithm in JAVAAnonymoushttp://www.blogger.com/profile/13196480231236274690noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-2002003343323875763.post-11583838232988131812024-03-02T08:08:39.188-08:002024-03-02T08:08:39.188-08:00Explore the ultimate solution for your digital inf...Explore the ultimate solution for your digital infrastructure with <a href="https://supportfly.io/managed-digitalocean/" rel="nofollow">managed digitalocean</a> services. Experience seamless deployment, optimization, and support.aaradhya mehtahttps://www.blogger.com/profile/05830172908628382222noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-67902125527780798002024-01-02T22:34:04.216-08:002024-01-02T22:34:04.216-08:00hchhchCenforce 200 mghttps://www.blogger.com/profile/06302355892426815114noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-23343084318436007132021-07-21T06:52:45.305-07:002021-07-21T06:52:45.305-07:00aşk kitapları
youtube abone satın al
cami aviz...<a href="https://bit.ly/ask-kitaplari" rel="nofollow">aşk kitapları</a> <br /> <a href="https://fatihmedya.com/youtube-abone-satin-al/" rel="nofollow">youtube abone satın al</a> <br /> <a href="https://bit.ly/cami-avizesi" rel="nofollow">cami avizesi</a> <br /> <a href="https://bit.ly/cami-avizesi" rel="nofollow">cami avizeleri</a> <br /> <a href="https://bit.ly/cami-avizesi" rel="nofollow">avize cami</a> <br /> <a href="https://bit.ly/no-deposit-bonus-forex-no-deposit-bonus-forex" rel="nofollow">no deposit bonus forex 2021</a> <br /> <a href="https://takipcialdim.com" rel="nofollow">takipçi satın al</a> <br /> <a href="https://bit.ly/takipci-satin-al-takipci-satin-al-takipci-satin-al" rel="nofollow">takipçi satın al</a> <br /> <a href="https://smmpaketleri.com" rel="nofollow">takipçi satın al</a> <br /> <a href="https://takipcialdim.com/tiktok-takipci-satin-al/" rel="nofollow">takipcialdim.com/tiktok-takipci-satin-al/</a> <br /> <a href="http://bit.ly/begeni-satin-al-begeni-satin-al" rel="nofollow">instagram beğeni satın al</a> <br /> <a href="https://www.otomatikbegenisatinal.com" rel="nofollow">instagram beğeni satın al</a> <br /> <a href="https://bitcoinhesabiacma.com/btcturk-guvenilir-mi" rel="nofollow">btcturk</a> <br /> <a href="https://bit.ly/tiktok-izlenme-sat%C4%B1n-al" rel="nofollow">tiktok izlenme satın al</a> <br /> <a href="https://numarasmsonay.com" rel="nofollow">sms onay</a> <br /> <a href="https://izlenme-satin-al.com/youtube" rel="nofollow">youtube izlenme satın al</a> <br /> <a href="https://www.forexbonus2020.com" rel="nofollow">no deposit bonus forex 2021</a> <br /> <a href="https://www.webgazi.com" rel="nofollow">tiktok jeton hilesi</a> <br /> <a href="https://izlenme-satin-al.com/tiktok-begeni-satin-al" rel="nofollow">tiktok beğeni satın al</a> <br /> <a href="https://guvenilirmiyasalmi.com" rel="nofollow">binance</a> <br /> <a href="https://bit.ly/takipci-satin-al-takipci-satin-al-takipci-satin-al-takipci-satin-al" rel="nofollow">takipçi satın al</a> <br /> <a href="https://bit.ly/uc-satin-al" rel="nofollow">uc satın al</a> <br /> <a href="https://www.numaramarket.com" rel="nofollow">sms onay</a> <br /> <a href="https://www.smsonay.com" rel="nofollow">sms onay</a> <br /> <a href="https://smmpaketleri.com/tiktok/" rel="nofollow">tiktok takipçi satın al</a> <br /> <a href="https://smmpaketleri.com/tiktok-begeni/" rel="nofollow">tiktok beğeni satın al</a> <br /> <a href="https://smmpaketleri.com/twitter/" rel="nofollow">twitter takipçi satın al</a> <br /> <a href="https://smmpaketleri.com/trend-topic/" rel="nofollow">trend topic satın al</a> <br /> <a href="https://smmpaketleri.com/youtube/" rel="nofollow">youtube abone satın al</a> <br /> <a href="https://smmpaketleri.com/instagram-begeni-satin-al/" rel="nofollow">instagram beğeni satın al</a> <br /> <a href="https://takipcialdim.com/tiktok-begeni/" rel="nofollow">tiktok beğeni satın al</a> <br /> <a href="https://takipcialdim.com/twitter/" rel="nofollow">twitter takipçi satın al</a> <br /> <a href="https://takipcialdim.com/trend-topic/" rel="nofollow">trend topic satın al</a> <br /> <a href="https://takipcialdim.com/youtube/" rel="nofollow">youtube abone satın al</a> <br /> <a href="https://takipcialdim.com/instagram-begeni-satin-al/" rel="nofollow">takipcialdim.com/instagram-begeni-satin-al/</a> <br /> <a href="https://www.perdemodelleri.org" rel="nofollow">perde modelleri</a> <br /> <a href="https://www.takipciadresin.com" rel="nofollow">instagram takipçi satın al</a> <br /> <a href="https://atakanmedya.com" rel="nofollow">instagram takipçi satın al</a> <br /> <a href="https://fatihmedya.com" rel="nofollow">takipçi satın al</a> <br /> <a href="https://bit.ly/ucuz-takipci" rel="nofollow">instagram takipçi satın al</a> <br /> <a href="http://paydayloansonlineare.com" rel="nofollow">betboo</a> <br /> <a href="https://marsbahiscasino.org" rel="nofollow">marsbahis</a> <br /> <a href="http://4mcafee.com" rel="nofollow">sultanbet</a>Anonymoushttps://www.blogger.com/profile/16196431663343483059noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-87953737806163407882018-01-24T02:39:16.442-08:002018-01-24T02:39:16.442-08:00• Nice and good article. It is very useful for me ...• Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating. <b><a href="https://onlineitguru.com/power-bi-online-training-placement.html" title=" Power Bi Online Training | Power BI Online Course | Online ITGuru<br />• " rel="nofollow">Power Bi Online COURSE </a></b><br />Anonymoushttps://www.blogger.com/profile/16237727881027125758noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-80769732282451277302017-10-08T23:02:28.244-07:002017-10-08T23:02:28.244-07:00"Great blog created by you. I read your blog,..."Great blog created by you. I read your blog, its best and useful information. You have done a great work. Super blogging and keep it up.<a href="" rel="nofollow">php jobs in hyderabad</a>.<br />"<br />Anonymoushttps://www.blogger.com/profile/05991518150961162659noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-18008047040893945192017-09-01T04:36:12.844-07:002017-09-01T04:36:12.844-07:00Hi
Thanks for code. its working great.
I have one ...Hi<br />Thanks for code. its working great.<br />I have one question same code is working fine in java but i need same code for c# language. can you please provide it if you have ..Anonymoushttps://www.blogger.com/profile/11776110434743420999noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-80532060832401146072017-05-13T03:16:40.335-07:002017-05-13T03:16:40.335-07:00How to apply data encryptionfor jar fileHow to apply <a href="https://www.softexinc.com/data-protection/securedrive/" rel="nofollow">data encryption</a>for jar fileWilliam Davishttps://www.blogger.com/profile/02512717773092295673noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-37491309711726296202017-01-11T21:54:11.228-08:002017-01-11T21:54:11.228-08:00Is it possible to encrypt a JAVA JAR file?Is it possible to encrypt a JAVA JAR file?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-45888653888397946952016-04-22T06:16:24.226-07:002016-04-22T06:16:24.226-07:00Hi, Is there any utility or tools available for en...Hi, Is there any utility or tools available for encrypting the jar file?Jakkanihttps://www.blogger.com/profile/13767265788751583749noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-75031462507401319322015-12-14T05:54:28.858-08:002015-12-14T05:54:28.858-08:00Thanks for the reply.. I have mailed you. Please l...Thanks for the reply.. I have mailed you. Please let me know if you need more information.<br />Anonymoushttps://www.blogger.com/profile/16723847175178600324noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-89944032358083893812015-12-14T04:50:34.755-08:002015-12-14T04:50:34.755-08:00I have tried it only with a standalone app. Howeve...I have tried it only with a standalone app. However that should not make any difference. I think there should be some problem when you are passing the key back to decrypt.<br /><br />I did a little googling and found this http://stackoverflow.com/questions/8049872/given-final-block-not-properly-padded<br /><br />But I would suggest you to add some logging to verify if the encrypt key password is the same as you get back from we services.<br /><br />If you still have problems. Send me a working code I will try to help you out, send me an email to Srividhya.umashanker at gmailAnonymoushttps://www.blogger.com/profile/13196480231236274690noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-91070761547424892622015-12-12T21:05:31.322-08:002015-12-12T21:05:31.322-08:00Hi,
Please help me in resolving the issue i am fa...Hi,<br /><br />Please help me in resolving the issue i am facing. I am using the same code for encrypting and decrypting the password using a random generated key. This key is transmitted over a web service call and i am storing in a singleton class for a desktop application. For multiple logins i am getting "Given final block not properly padded" error. <br />Please help me resolving this issue.<br />Code:<br />public String decryptForDataBasePassword( char[] encryptedTextChar ) {<br /><br /> Cipher cipher;<br /> String encryptedString = null;<br /> String text = new String( encryptedTextChar );<br />// byte[] encryptText = null;<br /> byte[] raw;<br /><br /> SecretKeySpec skeySpec;<br /> try {<br /> cipher = Cipher.getInstance( "AES" );<br /> raw = Base64.decodeBase64( secretKey );<br /> skeySpec = new SecretKeySpec( raw, "AES" );<br /> cipher.init( Cipher.DECRYPT_MODE, skeySpec );<br /> encryptedString = new String( cipher.doFinal( Base64.decodeBase64( text ) ) );<br /> }<br /> catch( Exception e ) {<br /> Logger.getLogger( "Error in encrypting the password using key " + e.getMessage() );<br /> GlobalUtils.displayErrorMessage( "Error in decrypting the password using key " + e.getMessage() );<br /> }<br /> return encryptedString;<br /> }Anonymoushttps://www.blogger.com/profile/16723847175178600324noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-51411762172760111122015-10-16T01:57:33.454-07:002015-10-16T01:57:33.454-07:00Thank! Helped a lot! but with this one works perfe...Thank! Helped a lot! but with this one works perfectly! its vary easy to use check on<br /><a href="http://www.seonewtool.com/url-encoder-decoder" rel="nofollow">encoder decoder online</a>Anonymoushttps://www.blogger.com/profile/15776982233499730777noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-41113245531731965912015-06-17T03:24:55.686-07:002015-06-17T03:24:55.686-07:00Hi.
Do you know if I can use this example to trans...Hi.<br />Do you know if I can use this example to transfer a file encrypted from a virtual machine to another virtual machine?TakersPThttps://www.blogger.com/profile/14868922931815112622noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-41152352951512463322014-09-09T11:55:27.035-07:002014-09-09T11:55:27.035-07:00Srividhya ,I want to run file in java eclipse cons...Srividhya ,I want to run file in java eclipse console,what changes are required.Shrikrushnahttps://www.blogger.com/profile/15450278185607390434noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-19203444834106960092014-09-09T11:53:33.876-07:002014-09-09T11:53:33.876-07:00you have to run the file in windows cmd prompt
you have to run the file in windows cmd prompt<br />Shrikrushnahttps://www.blogger.com/profile/15450278185607390434noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-2031844025421319812014-07-25T00:45:11.326-07:002014-07-25T00:45:11.326-07:00hi it does not show the proper output.
it show me ...hi it does not show the proper output.<br />it show me output like this.<br />usage: [-h] [-encrypt ]<br /> -decrypt - string to decrypt<br /> -encrypt - string to encrypt<br /> -help Display helpAnonymoushttps://www.blogger.com/profile/04923711148716711303noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-90349696220343732092014-06-21T04:01:16.070-07:002014-06-21T04:01:16.070-07:00Updated the above code, attached a eclipse project...Updated the above code, attached a eclipse project, that is working. Please take a lookAnonymoushttps://www.blogger.com/profile/13196480231236274690noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-55922650763332749542014-06-19T00:54:42.683-07:002014-06-19T00:54:42.683-07:00I am getting error at two places in above code [ f...I am getting error at two places in above code [ final String encryptedString = Base64.encodeBase64String(cipher.doFinal(strToEncrypt.getBytes())); <br /> final String decryptedString = new String(cipher.doFinal(Base64.decodeBase64(strToDecrypt)));]<br />saying no method found encodeBase64String and decodeBase64(String) cannot invoke.. Please help me out.. I am using all the libraries suggested in the above posts..Anonymoushttps://www.blogger.com/profile/12753703463696077598noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-77927245441791356662014-05-27T19:04:59.285-07:002014-05-27T19:04:59.285-07:00Downloaded Library
org.apache.common-codec-1.9.ja...Downloaded Library<br /><br />org.apache.common-codec-1.9.jar<br />org.apache.commons.cli -1.2.jar<br />org.apache.commons.logging 1.1.3.jarAnonymoushttps://www.blogger.com/profile/13254720626802399557noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-71635368829334134882014-04-22T04:29:25.309-07:002014-04-22T04:29:25.309-07:00where we have to open that .jar file actually iam ...where we have to open that .jar file actually iam new to this.<br />thanks in advance.Anonymoushttps://www.blogger.com/profile/15157159498043344868noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-91936885695754203662014-04-18T10:06:47.541-07:002014-04-18T10:06:47.541-07:00This will help for how to use Eliptic Curve Crypto...This will help for how to use Eliptic Curve Cryptography Sign/verify http://javaconceptzz.blogspot.com/2013/08/java-eliptic-curve-cryptography.htmlsajithhttps://www.blogger.com/profile/14114948252222518627noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-60639300836102682882014-02-25T02:11:39.302-08:002014-02-25T02:11:39.302-08:00U must to download the apache library and add it i...U must to download the apache library and add it in youe project ..<br /><br />download it from this link: http://commons.apache.org/proper/commons-codec/download_codec.cgi?Preferred=http%3A%2F%2Fapache.mirrors.hoobly.com%2FAnonymoushttps://www.blogger.com/profile/05752184855150626393noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-54951874423868839312014-02-16T23:22:15.009-08:002014-02-16T23:22:15.009-08:00Hi,
I executed the above code using the command pr...Hi,<br />I executed the above code using the command prompt by saving the code in a .java text file with name CipherUtils.java<br />But I got several errors on compilation itself, like<br /><br />CipherUtils.java:6: error: package org.apache.commons.cli does not exist<br />import org.apache.commons.cli.CommandLine;<br /> ^<br />CipherUtils.java:7: error: package org.apache.commons.cli does not exist<br />import org.apache.commons.cli.CommandLineParser;<br /> ^<br />CipherUtils.java:8: error: package org.apache.commons.cli does not exist<br />import org.apache.commons.cli.HelpFormatter;<br /><br />and many more errors.<br />I have jdk1.7.0_07. Have i done it wrongly?? Please help..<br /><br />-harshaAnonymoushttps://www.blogger.com/profile/13692501432585501841noreply@blogger.comtag:blogger.com,1999:blog-2002003343323875763.post-15591628720700180262014-02-06T07:04:07.827-08:002014-02-06T07:04:07.827-08:00This a also very good example throgh this we can m...This a also very good example throgh this we can make the key dynamin and can do AES 256 encryption. Great code<br />Anonymoushttps://www.blogger.com/profile/03244292640340351121noreply@blogger.com