added sws v2 implementation with naclcert