Akafugu / flw

Dependencies:   _24LCXXX

Dependents:   vfd_modular_clock_mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers flw_blacklist.h Source File

flw_blacklist.h

00001 /*
00002  * Four Letter Word Generator
00003  * (C) 2015 Akafugu Corporation
00004  *
00005  * This program is free software; you can redistribute it and/or modify it under the
00006  * terms of the GNU General Public License as published by the Free Software
00007  * Foundation; either version 2 of the License, or (at your option) any later
00008  * version.
00009  *
00010  * This program is distributed in the hope that it will be useful, but WITHOUT ANY
00011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
00012  * PARTICULAR PURPOSE.  See the GNU General Public License for more details.
00013  *
00014  */
00015 
00016 //
00017 // Swear word blacklist for Four Letter Word database
00018 // All words are encoded using ROT13 so that the cencored words are not
00019 // directly visible in the file
00020 //
00021 // Must be alphabetized (according to the decrypted value!), since the
00022 // list is searched by binary search
00023 //
00024 
00025 const char word_0[]  = "NAHF";
00026 const char word_1[]  = "NEFR";
00027 const char word_2[]  = "PNJX";
00028 const char word_3[]  = "PYVG";
00029 const char word_4[]  = "PBPX";
00030 const char word_5[]  = "PBBA";
00031 const char word_6[]  = "PENC";
00032 const char word_7[]  = "PHAG";
00033 const char word_8[]  = "QNTB";
00034 const char word_9[]  = "QNZA";
00035 const char word_10[] = "QVPX";
00036 const char word_11[] = "QLXR";
00037 const char word_12[] = "SNTF";
00038 const char word_13[] = "SNEG";
00039 const char word_14[] = "SHPX";
00040 const char word_15[] = "TBBX";
00041 const char word_16[] = "URYY";
00042 const char word_17[] = "WRJF";
00043 const char word_18[] = "WVFZ";
00044 const char word_19[] = "WVMZ";
00045 const char word_20[] = "WVMM";
00046 const char word_21[] = "XVXR";
00047 const char word_22[] = "ZHSS";
00048 const char word_23[] = "ANMV";
00049 const char word_24[] = "CNXV";
00050 const char word_25[] = "CVFF";
00051 const char word_26[] = "CBBA";
00052 const char word_27[] = "CBBC";
00053 const char word_28[] = "CBEA";
00054 const char word_29[] = "ENCR";
00055 const char word_30[] = "FUVG";
00056 const char word_31[] = "FZHG";
00057 const char word_32[] = "FCVP";
00058 const char word_33[] = "FYHG";
00059 const char word_34[] = "GVGF";
00060 const char word_35[] = "GHEQ";
00061 const char word_36[] = "GJNG";
00062 const char word_37[] = "JNAX";
00063 
00064 #define BLACKLIST_SIZE 37
00065 
00066 const char *flw_blacklist[] =
00067 {   
00068     word_0, word_1, word_2, word_3, word_4, word_5, word_6, word_7, word_8, word_9, 
00069     word_10, word_11, word_12, word_13, word_14, word_15, word_16, word_17, word_18, word_19,
00070     word_20, word_21, word_22, word_23, word_24, word_25, word_26, word_27, word_28, word_29, 
00071     word_30, word_31, word_32, word_33, word_34, word_35, word_36, word_37
00072 };