This is a concept password system for GreenOS (no, not the design, which is not very good, but the code). The reason this uses an encrypted password to check is because the encrypted password could be stored in a savecode without any risk of it being figured out.
@Finnagin5 for the background @chiru3 for the rest