mirror of
https://github.com/WiiDatabase/nusdownloader.git
synced 2024-11-23 18:59:16 +01:00
c67e219ac3
common key now from libwiisharp
36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
/* This file is part of libWiiSharp
|
|
* Copyright (C) 2009 Leathl
|
|
*
|
|
* libWiiSharp is free software: you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as published
|
|
* by the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* libWiiSharp is distributed in the hope that it will be
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace libWiiSharp
|
|
{
|
|
public class CommonKey
|
|
{
|
|
private static string standardKey = "ebe42a225e8593e448d9c5457381aaf7";
|
|
private static string koreanKey = "63b82bb4f4614e2e13f2fefbba4c9b7e";
|
|
|
|
public static byte[] GetStandardKey()
|
|
{
|
|
return Shared.HexStringToByteArray(standardKey);
|
|
}
|
|
|
|
public static byte[] GetKoreanKey()
|
|
{
|
|
return Shared.HexStringToByteArray(koreanKey);
|
|
}
|
|
}
|
|
}
|