-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Download: Java All-in-One For Dummies, 7th Edition ($27 Value) — free for your email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 3 views
-
Microsoft blocks BlackLotus Secure Boot mitigations on TPM 2.0 Windows Server 2012 PCs
By hellowalkman,
- microsoft
- windows server 2012
- (and 14 more)
- 0 replies
- 2 views
-
- 1 reply
- 4 views
-
Sam Bankman-Fried given more lenient jail sentence of 25 years; could be free in 13 years
By zikalify,
- sam bankman-fried
- ftx
- (and 4 more)
- 18 replies
- 12 views
-
Learn Java with Projects (worth $44.99) but free in exchange for your email
By News Staff,
- packt
- ebook offer
- (and 2 more)
- 0 replies
- 3 views
-
Question
DrJohnSmitherson
Hey all
Is this good code for generating a secure random string?
http://stackoverflow.com/a/7111973
Would this code work for encrypting strings if I changed "keyString" to the string generated from the above code?
http://www.javaxp.com/2012/04/java-simple-aes-cryptography-example.html
I understand that I need a secure random number generator and I know I want to use AES, I just want to make sure those sources are secure.
Thanks :D
Link to comment
Share on other sites
10 answers to this question
Recommended Posts