Disclosed herein is a method of generating anti-collusion fingerprint codes using a (na, n2a 2, na 1, n, 0, 1) GD-PBIBD. The fingerprint codes are generated using computer equipment that executes a program for executing a program for generating the fingerprint codes. The method includes step 1 of receiving an arbitrary prime number n and an arbitrary integer a larger than 3, step 2 of generating an n� index matrix, step 3 of generating n n� type_i matrixes, step 4 of generating an n2�2 matrix using the n� index matrix and the n� type_i matrixes, step 5 of generating an na�2a 2 matrix, and step 6 of extracting one arbitrary column from the na