Cryptographic Hash Extractor

class etk.extractors.cryptographic_hash_extractor.CryptographicHashExtractor[source]

Bases: etk.extractor.Extractor

Description
This class inherits RegexExtractor by predefine the regex patterns for md5, sha1 and sha256

Examples

cryptographic_hash_extractor = CryptographicHashExtractor()
cryptographic_hash_extractor.extract(text=input_doc)
extract(text: str) → List[etk.extraction.Extraction][source]
Parameters:text (str) – The input source to be processed
Returns:The list of extractions returned by CryptographicHashExtractor
Return type:List[Extraction]