Some crypt algo impl for labs