new secure phase method
Merge branch 'experimental'