@classmethod
def addPKCS1Prefix(cls, data, hashName):
    """Add the PKCS#1 v1.5 algorithm identifier prefix to hash bytes"""
    hashName = hashName.lower()
    assert hashName in cls._pkcs1Prefixes
    prefixBytes = cls._pkcs1Prefixes[hashName]
    return prefixBytes + data
