import hmac
import hashlib


def make_secure_val(val):
    """Create a secure sha256 + SECRET hash of val

    Return: val|sha256_hash
    """
    SECRET = b'progrmoiz'

    h = hmac.new(SECRET, val.encode(), hashlib.sha256).hexdigest()
    return '%s|%s' % (val, h)