Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NoPadding (0.14 sec)

  1. src/main/java/jcifs/util/Crypto.java

         */
        public static Cipher getDES ( byte[] key ) {
            if ( key.length == 7 ) {
                return getDES(des7to8(key));
            }
    
            try {
                Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
                return c;
            }
            catch (
                NoSuchAlgorithmException |
                NoSuchPaddingException |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
Back to top