Rijndael 256 encryption with Java & Bouncy Castle
问题 I'm working on a project built in pure php, i'm doing a rework on the login, but the users in the database are cipher in Rijndael-256, i've tried a lot of things and nothing seems to work, and i feel i'm so close with this code, but it doesn't work, and i'm really lost private final String key = "..."; public String decrypt(String password, String cypherKey) { try { password = password.substring(0, password.lenght() - 1); // 1 byte[] passwordBytes = password.getBytes("UTF-8"); byte[] key =