nusdownloader/NUS Downloader/CommonKey.cs

42 lines
1.4 KiB
C#
Raw Normal View History

/* 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";
2011-01-14 00:45:09 +01:00
private static string dsiKey = "af1bf516a807d21aea45984f04742861";
public static byte[] GetStandardKey()
{
return Shared.HexStringToByteArray(standardKey);
}
public static byte[] GetKoreanKey()
{
return Shared.HexStringToByteArray(koreanKey);
}
2011-01-14 00:45:09 +01:00
public static byte[] GetDSiKey()
{
return Shared.HexStringToByteArray(dsiKey);
}
}
}