Update encryption/deryption function comments
Remove obsolete internal test functions and update tests accordingly
Add comment