Initial import of a couple api tests
Base encryption on proportion, not fixed number