import re
import hashlib

def find_phone_number(text: str):
    """
    Check if the given phone number is valid.
    A valid phone number can contain digits, spaces, dashes, and parentheses.
    """

    pattern = r'(?:(?:\+66|66)|0)(6|8|9)\d{8}'
    m = re.search(pattern, text)
    if m:
        return m.group(0)
    return None

def find_email(text: str):
    """
    Check if the given email is valid.
    A valid email can contain alphanumeric characters, dots, underscores, and hyphens.
    """
    
    pattern = r'[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'
    m = re.search(pattern, text)
    if m:
        return m.group(0).lower()
    return None

def hash256(text: str) -> str:
    """
    Hash the phone number using a simple hash function.
    This is a placeholder for a more secure hashing mechanism.
    """
    hash_object = hashlib.sha256(text.encode('utf-8')) 
    return str(hash_object)