法国船级社BV规范2013(英文): Main changes in BV RSS edition January 2013.pdf RSS_PartA_2013-01.pdf RSS_PartB_Ch01-04_2013-01.pdf RSS_PartB_Ch05-08_2013-01.pdf RSS_PartB_Ch09-12_2013-01.pdf RSS_PartC_Ch01_2013-01.pdf ........完整的
BV号与av号互转算法
Python
alphabet = 'fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF'
def dec(x):
r = 0
for i, v in enumerate([11, 10, 3, 8, 4, 6]):
r += alphabet.find(x[v]) * 58**i
return (r - 0x2_0840_07c0) ^ 0x0a93_b324
de