Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KeySizeError (0.09 sec)

  1. src/crypto/des/cipher.go

    package des
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"internal/byteorder"
    	"strconv"
    )
    
    // The DES block size in bytes.
    const BlockSize = 8
    
    type KeySizeError int
    
    func (k KeySizeError) Error() string {
    	return "crypto/des: invalid key size " + strconv.Itoa(int(k))
    }
    
    // desCipher is an instance of DES encryption.
    type desCipher struct {
    	subkeys [16]uint64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top