I have numpy array:

```
A = np.array(['abcd','bcde','cdef'])

```

I need hash array of A: with function

```
B[i] = ord(A[i][1]) * 256 + ord(A[i][2])

B = np.array([ord('b') * 256 + ord('c'), ord('c') * 256 + ord('d'), ord('d') * 256 + ord('e')])

```

How I can do it?