Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: "); } strbuf.append(Long.toString((int) buf[i] & 0xff, 16)); } return strbuf.toString(); } public static void main(String[] args) throws Exception { System.out.print("....AES....n"); String message = "MESSAGE"; String password = "PASSWORD"; System.out.println("MSG:" + message); AESCrypt aes = new AESCrypt(password); String encryptedText = aes.encrypt(message).toString(); System.out.println("SIFROVANA PORUKA: " + encryptedText); String decryptedText = aes.decrypt(encryp Source: […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles