Showing posts with label Base64.encode("111111".getBytes(). Show all posts
Showing posts with label Base64.encode("111111".getBytes(). Show all posts
on Sunday, August 31, 2014


When I try this:



map.put("password1", Base64.encode("111111".getBytes(),Base64.DEFAULT));
map.put("password2", Base64.encode("111111".getBytes(),Base64.DEFAULT));
map.put("password3", Base64.encode("111111".getBytes(),Base64.DEFAULT));


I got different value of password1,password2 and password3:


password1:[B@5368aecc


password2:[B@536e9ea0


password3:[B@536c0dec


Is it should be the same value? Thanks in advance.