Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EncryptedString (0.11 sec)

  1. tests/serializer_test.go

    	Number   int
    	Location string
    	IsIntern bool
    }
    
    type EncryptedString string
    
    func (es *EncryptedString) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) {
    	switch value := dbValue.(type) {
    	case []byte:
    		*es = EncryptedString(bytes.TrimPrefix(value, []byte("hello")))
    	case string:
    		*es = EncryptedString(strings.TrimPrefix(value, "hello"))
    	default:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

        /**
         * Decrypt credentials from a base64 string
         *
         * @param encryptedString base64 encoded encrypted credentials
         * @return decrypted credentials
         * @throws GeneralSecurityException if decryption fails
         */
        public char[] decryptFromString(String encryptedString) throws GeneralSecurityException {
            if (encryptedString == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top