Implement Shared Secret