> Yes. Or, it's actually rather easy - but it's extremely hard to do well. That's why one shouldn't do it (or, you should, but perhaps for toying with and not for production). See, you obviously know enough about the topic to know this! This is exactly one of those nuggets of "broad knowledge" you need as a software developer.
Everyone should write their own crypto library at least once. Nobody should ever use their own crypto library for anything. :)
Everyone should write their own crypto library at least once. Nobody should ever use their own crypto library for anything. :)