C# 클래스 SRPServer.PlayerDatabaseEntry

파일 보기 프로젝트 열기: SleeplessByte/lidgren-srp6a 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( String username, String password, Int32 keysize ) : PlayerDatabaseEntry

This functions generates a database entry for the given username and password. It is key that this function can only be called from a safe environment and that the password is sent safely to this function. Think about SSL encryption or one time one way keys and so forth. Do your best! We actually generate these on the client so the password is NEVER sent over the network, and then sent it over an encrypted channel.

메소드 상세

Generate() 공개 정적인 메소드

This functions generates a database entry for the given username and password. It is key that this function can only be called from a safe environment and that the password is sent safely to this function. Think about SSL encryption or one time one way keys and so forth. Do your best! We actually generate these on the client so the password is NEVER sent over the network, and then sent it over an encrypted channel.
public static Generate ( String username, String password, Int32 keysize ) : PlayerDatabaseEntry
username String
password String
keysize System.Int32
리턴 PlayerDatabaseEntry