C# Класс SRPServer.PlayerDatabaseEntry

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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