SRP port from Meteor.js SRP package