Police decryption powers ‘flawed’