ncrypt is a standardised way to encrypt an nsec for safer handling and storage. It’s defined in NIP-49