jihyeon's Blog

2023-11-12

SHA-256


https://www.acmicpc.net/problem/10930

해시 함수 사용할 수 있는지 문제

import hashlib input_data = input() encoded_data = input_data.encode() result = hashlib.sha256(encoded_data).hexdigest() print(result)

Copyright (c) 2023. jihyeon Choi. | All Right Reserved.